package com.example.ntweixin.service;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.ntweixin.entity.WeixinEventPushArticle;
import com.example.ntweixin.dao.WeixinEventPushArticleDao;

@Service
public class WeixinEventPushArticleService{

    @Resource
    private WeixinEventPushArticleDao weixinEventPushArticleDao;

    public int insert(WeixinEventPushArticle pojo){
        return weixinEventPushArticleDao.insert(pojo);
    }

    public int insertSelective(WeixinEventPushArticle pojo){
        return weixinEventPushArticleDao.insertSelective(pojo);
    }

    public int insertList(List<WeixinEventPushArticle> pojos){
        return weixinEventPushArticleDao.insertList(pojos);
    }

    public int update(WeixinEventPushArticle pojo){
        return weixinEventPushArticleDao.update(pojo);
    }
}
